package cn.lg.soar.system.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * @author luguoxiang
 * @date 2022/1/2
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class MenuDTO {

    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "父id")
    protected Integer parentId;

    @Schema(description = "类型")
    private Integer type;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称(标题)")
    private String title;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "是否隐藏子菜单")
    private Boolean hideChildren;

    @Schema(description = "排序")
    protected Integer sort;

}
